home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / graphics / 2978 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: tudelft.nl!news
  2. From: Wooly Mittens <0201367@ptfe12.hro.nl>
  3. Newsgroups: comp.sys.amiga.graphics
  4. Subject: Re: colour numbers in pictures.
  5. Date: Fri, 12 Apr 1996 10:43:28 -0700
  6. Organization: TU/Delft
  7. Message-ID: <316E9640.3C0B@ptfe12.hro.nl>
  8. References: <4kl4km$f22@gidora.kralizec.net.au>
  9. NNTP-Posting-Host: dutsp211.stm.tudelft.nl
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Andrew Bruno wrote:
  16. > Hello....
  17. > In an iff piccie the colour numbers are:
  18. > 2, 4, 8, 16, 32, 64, 128 and 256.
  19. > But the number used MAY be less.
  20. > Is there a program that allows "me" to reduce the number of used colours from
  21. > say 32 to 24?
  22.  
  23. It' wouldn't do you any good: the way it works is as follows
  24. you get a bitmap that you can put pixels on and are displayed on screen
  25.                     00000000
  26.                     00011000
  27.                     00100100
  28.                     00011000 black square with small white circle)
  29.                     00000000 
  30. but with one layer of 1's and zero's you'd get only 2 posibilities(colors) for
  31. each pixel.
  32. So we overlay another bitmap on top of it this doubles the posibilities
  33. from 2 colors to 4 every pixel could have either 00,01,10 or 11
  34.  
  35. adding another bit per pixel would double the fun again from 4 to 8 colors
  36. 000,001,010,011,100,101,110,111
  37.  
  38. You could continue doing this from 2,4,8,16,32,64,128,256 colors with
  39.                                    1,2,3, 4, 5, 6,  7,  8 bit per pixel
  40.  
  41. and since half a bit does not exist reducing colors from 32 to 24 would
  42. not decrease the size of the bitmap (though maybe the pallete but it is small
  43. anyway) and thus be nogood in particular to anybody.
  44.  
  45. Wooly Mittens
  46.